package com.qf.usermanageradmin.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

// 分页加模糊搜索
@Data
public class UserDTO {
    private String username;
    private String phone;
    private Integer sex;
    private Integer pageNum;
    private Integer pageSize;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
}
